﻿CREATE TABLE [ProductFeedback].[ProductFeedbackBadgeCategoryAssociation]
(
	[TenantId] [uniqueidentifier] NOT NULL,
	[BadgeId] [uniqueidentifier] NOT NULL,
	[CatalogId] [ProductFeedback].[TCatalogId] NOT NULL,
	[CategoryId] [ProductFeedback].[TCategoryId] NOT NULL,
	[StartDate] [datetime] NOT NULL,
	[FinishDate] [datetime] NULL,
	[DisplayOrder] [int] NOT NULL,
	CONSTRAINT [PK_ProductFeedbackBadgeCategoryAssociation] PRIMARY KEY CLUSTERED ([TenantId] ASC, [BadgeId] ASC, [CatalogId] ASC, [CategoryId] ASC, [StartDate] ASC) ON [PRIMARY]
) ON [PRIMARY]
